/**
 * 
 */
package design_pattern.visitor.pc;

/**
 * @author linzq
 *
 */
public class HardDisk extends Equipment {

  @Override
  public void accept(Visitor v) {
    System.out.println("HardDisk has been visited.");
    v.visitHardDisk(this);
  }

  @Override
  public float price() {
    return 200.00f;
  }

}
